package org.ztest.dataparser;

import org.ztest.dataparser.DataParser.PropertyAlias;

public class Test
{
	private int id;
	@PropertyAlias(name = "Name")
	private String ThisIsNotName;
	private int xx;
	private TypeDef type;
	
	public int getId()
	{
		return id;
	}
	public void setId(int id)
	{
		this.id = id;
	}
	public String getThisIsNotName()
	{
		return ThisIsNotName;
	}
	public void setThisIsNotName(String thisIsNotName)
	{
		ThisIsNotName = thisIsNotName;
	}
	public int getXx()
	{
		return xx;
	}
	public void setXx(int xx)
	{
		this.xx = xx;
	}

	public TypeDef getType()
	{
		return type;
	}
	public void setType(TypeDef type)
	{
		this.type = type;
	}
	
	@Override
	public String toString()
	{
		StringBuilder sb = new StringBuilder();
		sb.append("id=").append(id);
		sb.append(",ThisIsNotName=").append(ThisIsNotName);
		sb.append(",type=").append(type);
		return sb.toString();
	}

	public static enum TypeDef
	{
		TYPE1,
		TYPE2;
	}
}
